<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
	<!-- <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=no"> -->
	<meta name="renderer" content="webkit">
	<title>yenbai后台管理系统</title>
<!--	<link rel="icon" href="./static/images/favicon.ico" type="image/x-icon">-->
	<link rel="icon" href="./static/images/icon.png" type="image/x-icon">
	<!-- 如果是IE6打开，在顶部出现小黄条进行提醒 -->
	<!--[if lt IE 7]>
		<div style="position:absoulute;left:0;top:0;width:100%;height:50px;background:rgb(255,255,233);color:rgb(30,84,148);border-bottom:1px solid rgb(230,230,198);text-align:center;line-height:50px;font-size:12px;">您使用的浏览器版本过低，可能会影响到您浏览本网页，建议您升级您的浏览器。</div>
	<![endif]-->
	<!--[if lt IE 9]>
		<script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
		<script src="https://cdn.bootcss.com/html5shiv/3.7.3/html5shiv.min.js"></script>
  <![endif]-->
 </head>

<body>
	<div id="app"></div>

	<script type="text/x-template" id="vue_delete_template">
		<span>
			<Button type="error" @click="modal1 = true">{{$t('m.delete')}}</Button>
			<Modal
				v-model="modal1"
				:title="this.$t('m.sureD')"
				@on-ok="ok"
				@on-cancel="cancel">
				<p>{{$t('m.sdList')}}</p>
			</Modal>
		</span>
	</script>

	<script type="text/x-template" id="vue_change_password">
		<span>
			<Button type="warning"  @click="modal2 = true">{{$t('m.changePass')}}</Button>
			<Modal
				v-model="modal2"
				:title="this.$t('m.changePass')"
				@on-ok="ok"
				@on-cancel="cancel">
				<p><input class="ivu-input" type="password" v-model="nePass"></p>
			</Modal>
		</span>
	</script>

	<script type="text/x-template" id="vue_description">
		<span>
			<span class="label label-danger" type="primary" @click="modal4 = true">{{content}}</span>
			<Modal
				v-model="modal4"
				title="更新详情"
				@on-ok="ok"
				@on-cancel="cancel">
				<h3>app更新详情</h3>
				<p>1、xxx</p>
			</Modal>
		</span>
	</script>

	<script id="vue_pagination_template" type="x-template">
        <div class="pagination_wrp">
            <nav v-show="loading" class="" style="text-align: right;">
                <ul class="pagination">
                	<li v-show="total_page > 1" @click="getNextData(1)"><span>首页</span></li>
                    <li v-show="page > 1" @click="getNextData(page-1)"><span>上一页</span></li>
                    <li v-show="page !== 1" @click="getNextData(1)"><span>1</span></li>
                    <li v-show="page-4 > 0"><span>...</span></li>
                    <li v-show="page-3 > 0" @click="getNextData(page-2)"><span>{{ page-2 }}</span></li>
                    <li v-show="page-2 > 0" @click="getNextData(page-1)"><span>{{ page-1 }}</span></li>
                    <li class="active" @click="getNextData(page)" :total_page="total_page"><span>{{ page }}</span></li>
                    <li v-show="page+1 < total_page" @click="getNextData(page+1)"><span>{{ page+1 }}</span></li>
                    <li v-show="page+2 < total_page" @click="getNextData(page+2)"><span>{{ page+2 }}</span></li>
                    <li v-show="page+3 < total_page"><span>...</span></li>
                    <li v-show="page !== total_page" @click="getNextData(total_page)"><span>{{ total_page }}</span></li>
                    <li v-show="page !== total_page" @click="getNextData(page+1)"><span>下一页</span></li>
                    <li v-show="total_page > 1" @click="getNextData(total_page)"><span>首页</span></li>
                </ul>
            </nav>
        </div>
  </script>
</body>
</html>
